<?php
/**
 * This file is part of the Yacms (http://www.yacms.org)
 * Copyright (c) 2019 gylr0505 (http://www.yacms.org)
 *
 * Author: 鬼一浪人 <gylr0505@163.com>
 *
 * DateTime: 19-10-24 下午8:29
 * Description:
 */
 
declare(strict_types = 1);

namespace App\Template\Type;

class Normal extends TemplateAbstract
{
    protected $type = 'normal';

    public function __construct($id)
    {
        $this->id = $id;
    }

    /**
     * 常规模板消息，来自客户端提交，返回false
     * @param array $params
     * @return bool|mixed
     */
    public function accept($params = [])
    {
        return false;
    }
}